\hypertarget{class_math_question}{
\section{MathQuestion Class Reference}
\label{class_math_question}\index{MathQuestion@{MathQuestion}}
}
{\tt \#include $<$Security.h$>$}

Inherits \hyperlink{class_question}{Question}.

Collaboration diagram for MathQuestion:\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_math_question_5440684cb9091d429d298bf19df901e6}{MathQuestion} (int low=0, int high=10)
\item 
virtual \hyperlink{class_math_question_90f6703071729a17f8cf0fcc98547348}{$\sim$MathQuestion} ()
\item 
void \hyperlink{class_math_question_bc5ed19b01c84619cec897afd33de951}{generateQuestion} ()
\item 
void \hyperlink{class_math_question_56e0a333f6c0a4cd4b0dd085d1da8495}{generateAnswer} ()
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float \hyperlink{class_math_question_b5dbb454972744b3b94c0da062c9304c}{fNumber1}
\item 
float \hyperlink{class_math_question_a1b9d13bfc25c510ca913981a54be932}{fNumber2}
\item 
int \hyperlink{class_math_question_036c0fea7e59a78e7fe8700243c47c47}{h}
\item 
int \hyperlink{class_math_question_b4433fcbaf7d4f4e5f50ec863c1d9493}{l}
\item 
int \hyperlink{class_math_question_cb24b3ebc4d0f5b16ad31f540ba80856}{randomOperation}
\item 
ostringstream \hyperlink{class_math_question_8147b78cb18e2b739f2ba0373aaa7ed1}{s}
\end{CompactItemize}
\subsection*{Static Private Attributes}
\begin{CompactItemize}
\item 
static char \hyperlink{class_math_question_bc10b9e0ab7ffe5d8974e44cea530b95}{operations} \mbox{[}$\,$\mbox{]} = \char`\"{}+-$\ast$/\char`\"{}
\end{CompactItemize}


\subsection{Detailed Description}
This class will generate basic arithmatic for someone to solve. The constructor will take two arguments, int low, and int high. Low and high represent the floor and ceiling of random numbers to use in arithmetic generation. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_math_question_5440684cb9091d429d298bf19df901e6}{
\index{MathQuestion@{MathQuestion}!MathQuestion@{MathQuestion}}
\index{MathQuestion@{MathQuestion}!MathQuestion@{MathQuestion}}
\subsubsection[{MathQuestion}]{\setlength{\rightskip}{0pt plus 5cm}MathQuestion::MathQuestion (int {\em low} = {\tt 0}, \/  int {\em high} = {\tt 10})}}
\label{class_math_question_5440684cb9091d429d298bf19df901e6}


\hypertarget{class_math_question_90f6703071729a17f8cf0fcc98547348}{
\index{MathQuestion@{MathQuestion}!$\sim$MathQuestion@{$\sim$MathQuestion}}
\index{$\sim$MathQuestion@{$\sim$MathQuestion}!MathQuestion@{MathQuestion}}
\subsubsection[{$\sim$MathQuestion}]{\setlength{\rightskip}{0pt plus 5cm}MathQuestion::$\sim$MathQuestion ()\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_math_question_90f6703071729a17f8cf0fcc98547348}


integers are high and low for random numbers. 

\subsection{Member Function Documentation}
\hypertarget{class_math_question_56e0a333f6c0a4cd4b0dd085d1da8495}{
\index{MathQuestion@{MathQuestion}!generateAnswer@{generateAnswer}}
\index{generateAnswer@{generateAnswer}!MathQuestion@{MathQuestion}}
\subsubsection[{generateAnswer}]{\setlength{\rightskip}{0pt plus 5cm}void MathQuestion::generateAnswer ()\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_math_question_56e0a333f6c0a4cd4b0dd085d1da8495}




Implements \hyperlink{class_question_93f5663d5afa6ad01304dba8c15b1edb}{Question}.\hypertarget{class_math_question_bc5ed19b01c84619cec897afd33de951}{
\index{MathQuestion@{MathQuestion}!generateQuestion@{generateQuestion}}
\index{generateQuestion@{generateQuestion}!MathQuestion@{MathQuestion}}
\subsubsection[{generateQuestion}]{\setlength{\rightskip}{0pt plus 5cm}void MathQuestion::generateQuestion ()\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{class_math_question_bc5ed19b01c84619cec897afd33de951}




Implements \hyperlink{class_question_e69e0852defc240240515364ea4de4cc}{Question}.

\subsection{Member Data Documentation}
\hypertarget{class_math_question_b5dbb454972744b3b94c0da062c9304c}{
\index{MathQuestion@{MathQuestion}!fNumber1@{fNumber1}}
\index{fNumber1@{fNumber1}!MathQuestion@{MathQuestion}}
\subsubsection[{fNumber1}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf MathQuestion::fNumber1}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_b5dbb454972744b3b94c0da062c9304c}


\hypertarget{class_math_question_a1b9d13bfc25c510ca913981a54be932}{
\index{MathQuestion@{MathQuestion}!fNumber2@{fNumber2}}
\index{fNumber2@{fNumber2}!MathQuestion@{MathQuestion}}
\subsubsection[{fNumber2}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf MathQuestion::fNumber2}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_a1b9d13bfc25c510ca913981a54be932}


\hypertarget{class_math_question_036c0fea7e59a78e7fe8700243c47c47}{
\index{MathQuestion@{MathQuestion}!h@{h}}
\index{h@{h}!MathQuestion@{MathQuestion}}
\subsubsection[{h}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf MathQuestion::h}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_036c0fea7e59a78e7fe8700243c47c47}


\hypertarget{class_math_question_b4433fcbaf7d4f4e5f50ec863c1d9493}{
\index{MathQuestion@{MathQuestion}!l@{l}}
\index{l@{l}!MathQuestion@{MathQuestion}}
\subsubsection[{l}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf MathQuestion::l}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_b4433fcbaf7d4f4e5f50ec863c1d9493}


\hypertarget{class_math_question_bc10b9e0ab7ffe5d8974e44cea530b95}{
\index{MathQuestion@{MathQuestion}!operations@{operations}}
\index{operations@{operations}!MathQuestion@{MathQuestion}}
\subsubsection[{operations}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf MathQuestion::operations} = \char`\"{}+-$\ast$/\char`\"{}\hspace{0.3cm}{\tt  \mbox{[}static, private\mbox{]}}}}
\label{class_math_question_bc10b9e0ab7ffe5d8974e44cea530b95}


\hypertarget{class_math_question_cb24b3ebc4d0f5b16ad31f540ba80856}{
\index{MathQuestion@{MathQuestion}!randomOperation@{randomOperation}}
\index{randomOperation@{randomOperation}!MathQuestion@{MathQuestion}}
\subsubsection[{randomOperation}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf MathQuestion::randomOperation}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_cb24b3ebc4d0f5b16ad31f540ba80856}


\hypertarget{class_math_question_8147b78cb18e2b739f2ba0373aaa7ed1}{
\index{MathQuestion@{MathQuestion}!s@{s}}
\index{s@{s}!MathQuestion@{MathQuestion}}
\subsubsection[{s}]{\setlength{\rightskip}{0pt plus 5cm}ostringstream {\bf MathQuestion::s}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{class_math_question_8147b78cb18e2b739f2ba0373aaa7ed1}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/Users/hitokiri/Documents/Code/pam\_\-quiz/\hyperlink{_security_8h}{Security.h}\item 
/Users/hitokiri/Documents/Code/pam\_\-quiz/\hyperlink{_math_question_8cpp}{MathQuestion.cpp}\end{CompactItemize}
